In the books of 1 and 2 Chronicles is a religious history of the nation of Israel and the kings are evaluated based on the standard of worship. Do the kings lead their people to God?
After nine chapters of genealogies which focus on David as the ideal king, the remaining twenty chapters focus on the reign of David itself. David is presented as the ideal king. There is no mention of his sin with Bathsheba, his rebellious son Absalom, or the tragic sorrows of his life. The book was designed to encourage the returning remnant of Israel to a pure worship of the Lord and remind them of the glory to which their land could return.